a court in cairo has sentenced the former leader over abuses of protesters .
but he was cleared of charges that would have seen him face death penalty .
14 others convicted on same charges with most also sentenced to 20 years .
defence lawyers said they would launch an appeal against the convictions .